package com.yhsimon.facade;

/**
 * @author： YHSimon
 * @date： 2021-09-03 17:07
 */
public class Stereo {
    private Stereo(){}

    private final static Stereo instance=new Stereo();

    public static Stereo getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("stereo on");
    }

    public void off(){
        System.out.println("stereo off");
    }

    public void up(){
        System.out.println("stereo up");
    }
}
